package com.fowo.api.model.funds.pay.order.info;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import javax.validation.constraints.*;
import lombok.Getter;
import lombok.Setter;

/** 请款信息 导入导出辅助模型 */
@Getter
@Setter
public class FundsPayOrderInfoExcelPo {

  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "所属请款单")
  private String parentIdAssociatedOrder;

  @ExcelIgnore
  @ExcelProperty(value = "所属请款单")
  private Long parentId;

  @Size(max = 50, message = "采购单号长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "采购单号")
  private String purchaseOrderCode;

  @Size(max = 50, message = "采购金额长度不能超过20")
  @ExcelProperty(value = "采购金额")
  private java.math.BigDecimal purchaseMoney;

  @ExcelProperty(value = "到货金额")
  private java.math.BigDecimal aogMoney;

  @ExcelProperty(value = "应付金额")
  private java.math.BigDecimal amountPayable;

  @ExcelProperty(value = "实付金额")
  private java.math.BigDecimal actuallyPaid;

  @ExcelProperty(value = "本次折扣")
  private java.math.BigDecimal thisDiscount;

  @Size(max = 50, message = "费用名称长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "费用名称")
  private String feeName;

  @ExcelProperty(value = "费用金额")
  private java.math.BigDecimal feeMoney;

  @ExcelProperty(value = "本次申请")
  private java.math.BigDecimal thisApplication;

  @ExcelProperty(value = "折合")
  private java.math.BigDecimal convertInto;
}
